* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background: linear-gradient(120deg, #a8e6cf, #3ecd9e);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

body::before, body::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

body::before {
    top: -100px;
    right: -100px;
    animation: float 6s infinite ease-in-out;
}

body::after {
    bottom: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    animation: float 8s infinite ease-in-out;
}

.login-container {
    width: 100%;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.login-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateY(0);
    transition: transform 0.3s ease;
    position: relative;
}

.login-box::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: #ddf3e4;
    border-radius: 50%;
    animation: float 4s infinite ease-in-out;
}

.login-box::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -10px;
    width: 20px;
    height: 20px;
    background: #c8e6d5;
    border-radius: 50%;
    animation: float 5s infinite ease-in-out;
}

.login-box:hover {
    transform: translateY(-5px);
}

h2 {
    text-align: center;
    color: #2d6a4f;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

.input-group {
    margin-bottom: 25px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #34495e;
    font-weight: 500;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

input:focus {
    outline: none;
    border-color: #40916c;
    box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.2);
}

.captcha-container {
    display: flex;
    gap: 15px;
}

.captcha-container input {
    width: 60%;
}

#captchaImage {
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

#captchaImage:hover {
    transform: scale(1.05);
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, #40916c, #2d6a4f);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-btn:hover {
    background: linear-gradient(to right, #2d6a4f, #1b4332);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 106, 79, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .login-box {
        padding: 25px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .login-btn {
        padding: 12px;
    }
} 